package org.spring.springboot.hikencp.service.impl;

import org.spring.springboot.hikencp.dao.CityDao;
import org.spring.springboot.hikencp.domain.City;
import org.spring.springboot.hikencp.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CityServiceImpl implements CityService {
	
	@Autowired
    private CityDao cityDao;

	@Override
	public City findCityByName(String cityName) {
		
		return this.cityDao.findCityByName(cityName);
	}

}
